package com.hz.basic.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.common.utils.PageUtils;
import com.hz.common.utils.Query;

import com.hz.basic.dao.CbTypefacePositionDao;
import com.hz.basic.entity.CbTypefacePositionEntity;
import com.hz.basic.service.CbTypefacePositionService;


@Service("cbTypefacePositionService")
public class CbTypefacePositionServiceImpl extends ServiceImpl<CbTypefacePositionDao, CbTypefacePositionEntity> implements CbTypefacePositionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CbTypefacePositionEntity> page = this.page(
                new Query<CbTypefacePositionEntity>().getPage(params),
                new QueryWrapper<CbTypefacePositionEntity>()
        );

        return new PageUtils(page);
    }

}